package com.nbcio.modules.erp.coupon.service;

import com.nbcio.modules.erp.coupon.entity.MallCoupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 优惠券
 * @Author: nbacheng
 * @Date:   2024-04-16
 * @Version: V1.0
 */
public interface IMallCouponService extends IService<MallCoupon> {

    List<MallCoupon> queryMallCoupon(Map<String,Object> map);

    List<MallCoupon> queryUserCouponByUserId(Map<String,Object> map);

    void ReceiveCouponById(Map<String,Object> map);

    void afterSaveOrder(Map<String,Object> map);
}
